import React, { Component } from 'react'
import { fn } from '../high'

class Two extends Component {
    render() {
        const { count, add } = this.props
        return (
            <div>
                Two -- { count }
                <button onClick = { add }>+++</button>
            </div>
        )
    }
}

Two = fn(Two)({
    count: 40000,
    num: 100,
    list: [1, 2, 3, 4, 5, 6]
})(100)

export default Two
